package com.project.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

@TableName("code_history")
@Data
@EqualsAndHashCode(callSuper = false)
public class CodeHistory {

	@TableId(value = "id", type = IdType.INPUT)
	private Integer id;

	@TableField("user_id")
	private String userId;

	@TableField("user_nickname")
	private String userNickname;

	@TableField("classx")
	private String classx;

	@TableField("code_color")
	private String codeColor;

	@TableField("college")
	private String college;

	@TableField("exam_id")
	private String examId;

	@TableField("major")
	private String major;

	@TableField("name")
	private String name;

	@TableField("phone")
	private String phone;

	@TableField(value = "create_time")
	private Timestamp createTime;
}